<?php


namespace restphp\common\wx;


final class WxUserInfo {
    private $_openid;
    private $_nickname;
    private $_sex;
    private $_province;
    private $_city;
    private $_country;
    private $_headimgurl;
    private $_privilege;
    private $_unionid;

    /**
     * @return mixed
     */
    public function getOpenid()
    {
        return $this->_openid;
    }

    /**
     * @param mixed $openid
     */
    public function setOpenid($openid)
    {
        $this->_openid = $openid;
    }

    /**
     * @return mixed
     */
    public function getNickname()
    {
        return $this->_nickname;
    }

    /**
     * @param mixed $nickname
     */
    public function setNickname($nickname)
    {
        $this->_nickname = $nickname;
    }

    /**
     * @return mixed
     */
    public function getSex()
    {
        return $this->_sex;
    }

    /**
     * @param mixed $sex
     */
    public function setSex($sex)
    {
        $this->_sex = $sex;
    }

    /**
     * @return mixed
     */
    public function getProvince()
    {
        return $this->_province;
    }

    /**
     * @param mixed $province
     */
    public function setProvince($province)
    {
        $this->_province = $province;
    }

    /**
     * @return mixed
     */
    public function getCity()
    {
        return $this->_city;
    }

    /**
     * @param mixed $city
     */
    public function setCity($city)
    {
        $this->_city = $city;
    }

    /**
     * @return mixed
     */
    public function getCountry()
    {
        return $this->_country;
    }

    /**
     * @param mixed $country
     */
    public function setCountry($country)
    {
        $this->_country = $country;
    }

    /**
     * @return mixed
     */
    public function getHeadimgurl()
    {
        return $this->_headimgurl;
    }

    /**
     * @param mixed $headimgurl
     */
    public function setHeadimgurl($headimgurl)
    {
        $this->_headimgurl = $headimgurl;
    }

    /**
     * @return mixed
     */
    public function getPrivilege()
    {
        return $this->_privilege;
    }

    /**
     * @param mixed $privilege
     */
    public function setPrivilege($privilege)
    {
        $this->_privilege = $privilege;
    }

    /**
     * @return mixed
     */
    public function getUnionid()
    {
        return $this->_unionid;
    }

    /**
     * @param mixed $unionid
     */
    public function setUnionid($unionid)
    {
        $this->_unionid = $unionid;
    }


}